Skip to content

feat: add --public flag to agent create, fix object upload --public#229

Closed
jason-rl wants to merge 1 commit into
mainfrom
jason/agent-create-public
Closed

feat: add --public flag to agent create, fix object upload --public#229
jason-rl wants to merge 1 commit into
mainfrom
jason/agent-create-public

Conversation

@jason-rl

Copy link
Copy Markdown
Contributor

Summary

  • Add --public option to rli agent create that sets is_public: true in the create API request (field exists on the API but is absent from the SDK/OpenAPI spec)
  • Fix the existing --public flag on rli object upload which was defined but never passed to the API
  • Both --public flags are hidden from --help when RUNLOOP_BASE_URL is unset or points to the default runloop.ai, and visible when a custom base URL is configured

Test plan

  • npm run build passes
  • npm test passes (587/587 unit tests)
  • rli agent create --help hides --public with default domain
  • RUNLOOP_BASE_URL=https://api.custom.dev rli agent create --help shows --public
  • Same behavior verified for rli object upload --help

🤖 Generated with Claude Code

Add a --public option to `agent create` that sets `is_public: true` in
the API request body (field exists on the API but is hidden from the
SDK/OpenAPI spec). Also fix the existing `object upload --public` flag
which was defined but never passed through to the API.

Both --public flags are hidden from --help output when RUNLOOP_BASE_URL
is unset or points to the default runloop.ai domain, and become visible
when a custom base URL is configured.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jason-rl jason-rl closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant